package com.deyu.util;


import com.deyu.domain.Student;
import com.opensymphony.xwork2.ActionContext;

public class SessionContext {
     public static Student getStudent(){
    	 return (Student)ActionContext.getContext().getSession().get("student");
     }
     public void setStudent(Student student){
    	 ActionContext.getContext().getSession().put("student", student);
     }
}
